<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------
namespace addon\mall\model;
use \think\Request;
use app\common\model\AddonBase;
class GoodsComment extends AddonBase
{
    public function getPhotosAttr($value){
    	if($value){
    		return explode(",", $value);
    	}
    	return [];
    }
}